package com.lion.ball.modules.orderfood.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.lion.common.spring.business.base.BaseCrudController;
import com.lion.ball.modules.orderfood.domain.entity.OfdTableEntity;
import com.lion.ball.modules.orderfood.web.model.params.create.OfdTableCreateParam;
import com.lion.ball.modules.orderfood.web.model.params.update.OfdTableUpdateParam;
import com.lion.ball.modules.orderfood.web.model.params.search.OfdTableSearchParam;
import com.lion.ball.modules.orderfood.web.model.params.order.OfdTableOrderParam;
import com.lion.ball.modules.orderfood.web.model.results.OfdTableResult;
import com.lion.ball.modules.orderfood.dao.repository.OfdTableRepository;
import com.lion.ball.modules.orderfood.service.assistants.converters.OfdTableConverter;
import com.lion.ball.modules.orderfood.service.def.OfdTableService;
import com.lion.ball.modules.orderfood.web.api.OfdTableApi;

/**
 * @author Chris Chan
 * Create on 2025-10-18 13:33
 * Use for: 桌位 接口实现
 * Explain:
 * 
 */
@RestController
@RequestMapping("ofd/table")
public class OfdTableController implements OfdTableApi, BaseCrudController<
        OfdTableEntity,
        OfdTableCreateParam,
        OfdTableUpdateParam,
        OfdTableSearchParam,
        OfdTableOrderParam,
        OfdTableResult,
        OfdTableRepository,
        OfdTableConverter,
        OfdTableService
        > {

    @Autowired
    OfdTableService ofdTableService;

    @Override
    public OfdTableService getService() {
        return ofdTableService;
    }
}